package com.wx.mapper;

import com.wx.pojo.WxOrder;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface OrderMapperCustom {
   public WxOrder getModel(@Param("number") String number, @Param("user_id") Integer user_id);

   public List<WxOrder> listDistinctModelByUserAndStatus(@Param("user_id") Integer user_id,
                                                         @Param("status") Integer status);
}
